/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 28463
 * Date: 2022—07—05
 * Time: 21:01
 */
public class Demo01 {
    public static void main(String[] args) {
        TestSingleList testSingleList = new TestSingleList();
        testSingleList.addFirst(1);
        testSingleList.addFirst(3);
        testSingleList.addFirst(4);
        testSingleList.addLast(67);
        System.out.println(testSingleList.contains(1));
        System.out.println(testSingleList.size());
        testSingleList.addIndex(0,33);
        testSingleList.addIndex(5,88);
        testSingleList.addIndex(3,45);
        testSingleList.remove(33);
        testSingleList.remove(88);
        testSingleList.display();
    }
}
